﻿<UserControl x:Class="PairingMatrix.View.PriorityCounterControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:Behaviors="clr-namespace:PairingMatrix.View.Behavior" xmlns:Converter="clr-namespace:PairingMatrix.View.Converter" mc:Ignorable="d" 
             Height="40" Width="200">
	<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
		<Grid HorizontalAlignment="Center" VerticalAlignment="Center" >
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="40"/>
                <ColumnDefinition Width="40"/>
                <ColumnDefinition Width="40"/>
                <ColumnDefinition Width="40"/>
                <ColumnDefinition Width="40"/>
			</Grid.ColumnDefinitions>
            <Rectangle Grid.Column="0" RadiusX="5" RadiusY="5" Fill="#FFFF3600" Height="30" Width="30"/>
            <TextBlock Grid.Column="0" Text="{Binding Path=Urgent}" HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="Fonts/Fonts.zip#Consolas" FontSize="20"/>
            <Rectangle Grid.Column="1" RadiusX="5" RadiusY="5" Fill="#FFFFAD4F" Height="30" Width="30"/>
            <TextBlock Grid.Column="1" Text="{Binding Path=High}" HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="Fonts/Fonts.zip#Consolas" FontSize="20"/>
            <Rectangle Grid.Column="2" RadiusX="5" RadiusY="5" Fill="#FF9696EB" Height="30" Width="30"/>
            <TextBlock Grid.Column="2" Text="{Binding Path=Medium}" HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="Fonts/Fonts.zip#Consolas" FontSize="20"/>
            <Rectangle Grid.Column="3" RadiusX="5" RadiusY="5" Fill="#FFD0FFFD" Height="30" Width="30"/>
            <TextBlock Grid.Column="3" Text="{Binding Path=Low}" HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="Fonts/Fonts.zip#Consolas" FontSize="20"/>
            <Image Grid.Column="4" Source="/PairingMatrix;component/View/Image/ArrangeButton.png" Height="30" Width="30"/>
            <Rectangle Grid.Column="4" Name="arrangeCards" RadiusX="5" RadiusY="5" Fill="Transparent" Stroke="Black" Height="30" Width="30" MouseLeftButtonDown="arrangeCards_MouseLeftButtonDown" />
        </Grid>        
	</Grid>
</UserControl>
